﻿@{
    Layout = null;
}
<form name="_xclick" action="@ViewBag.PaypalURL" method="post" target="_top">
	<input type="hidden" name="cmd" value="_xclick">
	<input type="hidden" name="business" value="@ViewBag.Business">
	<input type="hidden" name="item_name" value="@ViewBag.ItemName">
	<input type="hidden" name="currency_code" value="@ViewBag.Currecy">
	<input type="hidden" name="amount" value="@ViewBag.Amount">
	<input type="hidden" name="email" value="@ViewBag.Email">
	<input type="hidden" name="no_note" value="1">
	<input type="hidden" name="no_shipping" value="0">
	<INPUT TYPE="hidden" NAME="lc" VALUE="US">
    <INPUT TYPE="hidden" NAME="custom" VALUE="@ViewBag.OrderId">
	<input type="hidden" name="return" value="@ViewBag.SiteURL/AdminDefault/?tab=Prepaid&src=/PayPal/Success">
	<input type="hidden" name="cancel_return" value="@ViewBag.SiteURL/AdminDefault/?tab=Prepaid&src=/PayPal/Index">
    <input type="hidden" name="notify_url" value="@ViewBag.SiteURL/PayPal/IPN">
</form>
@if (ViewBag.IsAutoSubmitForm) {
<script type="text/javascript">  
	document._xclick.submit();  
</script>
}
